package com.zhou.system.management.model.ao;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author xianfeng
 * @date 2023/5/22 23:01
 */
@Data
public class SysRoleAddAo {

    @NotEmpty
    @ApiModelProperty(value = "角色名称", position = 2)
    private String roleName;

    @NotEmpty
    @ApiModelProperty(value = "角色权限字符串", position = 3)
    private String roleKey;

    @ApiModelProperty(value = "显示顺序", position = 4)
    private Integer orderNum;

    @ApiModelProperty(value = "数据范围（1：全部数据权限;2：自定数据权限 3：本部门数据权限 4：本部门及以下数据权限）", position = 5)
    private Integer dataScope;

    @ApiModelProperty(value = "数据权限列表（部门ids）", position = 6)
    private List<Long> dataPermissions;

    @ApiModelProperty(value = "角色状态;（0正常1停用）", position = 7)
    @NotNull
    private Integer status;

    @ApiModelProperty(value = "备注", position = 8)
    private String remark;

    @ApiModelProperty(value = "菜单ids", position = 9)
    private List<Long> menuIds;
}
